﻿using System;
using System.Collections.Generic;
using System.Text;
using ESRI.ArcGIS.Geometry;

namespace PlanningGIS.Framework
{
    /// <summary>
    /// 
    /// </summary>
    public interface ISnapEnvironment
    {
        /// <summary>
        /// 
        /// </summary>
        int SnapAgentCount { get; }

        /// <summary>
        /// 
        /// </summary>
        double SnapTolerance { get; set; }

        /// <summary>
        /// 
        /// </summary>
        esriSnapToleranceUnits SnapToleranceUnits { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="SnapAgent"></param>
        void AddSnapAgent(ISnapAgent SnapAgent);

        /// <summary>
        /// 
        /// </summary>
        void ClearSnapAgents();
        /// <summary>
        /// 
        /// </summary>
        /// <param name="index"></param>
        /// <returns></returns>
        ISnapAgent get_SnapAgent(int index);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="index"></param>
        void RemoveSnapAgent(int index);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="point"></param>
        /// <returns></returns>
        IPoint SnapPoint(IPoint point);
    }
}
